package cn.jasonone.service;

import java.util.List;

import cn.jasonone.bean.SysResource;
import cn.jasonone.bean.SysResourceType;

public interface SysResourceService {
	public boolean save(SysResource sysResource);

	public boolean deleteByIds(int... ids);

	public List<SysResource> findAll(SysResource sysResource);
	
	public SysResource findById(int id);
	public List<SysResource> findByRoleId(int roleId);
	
	public boolean bindRole(int roleId, int[] resourceIds);
}
